<!--
 * @docName: paymentPage.vue
 * @Author: mwl
 * @Date: 14:13
 * @LastEditors: mwl
 * @LastEditTime: 14:13
-->
<template>
  <oldPaymentPage v-if='fundFlag ==1'></oldPaymentPage>
  <newPaymentPage v-else-if='fundFlag ==2'></newPaymentPage>
</template>

<script>
import VueQr from 'vue-qr'
import newPaymentPage from './modules/newPaymentPage'
import oldPaymentPage from './modules/oldPaymentPage'
export default {
  name: 'paymentPage',
  components:{
    oldPaymentPage,
    newPaymentPage
  },
  data(){
    return{
      fundFlag:null
    }
  },
  created() {
    const fundFlagInfo = localStorage.getItem('fundFlagInfo')
    this.fundFlag = fundFlagInfo;
    console.log('@@@@@@@@@@@@@@@@@@@@@', fundFlagInfo);
  },
  mounted() {
  },
  methods:{

  }
}
</script>
